package com.gitee.qdbp.general.thirdpart.api.alipay.model;

import com.gitee.qdbp.general.thirdpart.api.trade.model.PrepayParams;

/**
 * 支付宝发起支付的参数
 *
 * @author zhaohuihua
 * @version 171018
 */
public class AlipayPrepayParams extends PrepayParams {

    /** 版本序列号 **/
    private static final long serialVersionUID = 1L;

    /** 异步通知接口 **/
    // gmt_create=2017-10-19 16:29:18
    // charset=utf-8
    // gmt_payment=2017-10-19 16:30:28
    // notify_time=2017-10-19 16:35:37
    // subject=测试ZHH
    // sign=IYTGkzr7uBixlS+9RU1A7w/eeh36hpiTGposBlhFtnBf90KFDF...
    // buyer_id=2088002537412480
    // invoice_amount=0.02
    // version=1.0
    // notify_id=8c9082e86e7388da547891ce9e7b645jpe
    // fund_bill_list=[{"amount":"0.02","fundChannel":"ALIPAYACCOUNT"}]
    // notify_type=trade_status_sync
    // out_trade_no=20171019162842194
    // total_amount=0.02
    // trade_status=TRADE_SUCCESS
    // trade_no=2017101921001004480287226922
    // auth_app_id=2016112603310015
    // receipt_amount=0.02
    // point_amount=0.00
    // app_id=2016112603310015
    // buyer_pay_amount=0.02
    // sign_type=RSA2
    // seller_id=2088121610953211
    private String notifyUrl;

    /** 付款成功后跳转返回的页面(用于商家实现支付后的引导) **/
    // total_amount=0.02
    // timestamp=2017-10-19 16:30:38
    // sign=Ob0DGVCQ3l7cBe7KXNsfT4hkOvM+JLc4WMQSiihDjM3IbTUXK7...
    // trade_no=2017101921001004480287226922
    // sign_type=RSA2
    // auth_app_id=2016112603310015
    // charset=utf-8
    // seller_id=2088121610953211
    // method=alipay.trade.page.pay.return
    // app_id=2016112603310015
    // out_trade_no=20171019162842194
    // version=1.0
    private String returnUrl;

    /** 异步通知接口 **/
    public String getNotifyUrl() {
        return notifyUrl;
    }

    /** 异步通知接口 **/
    public void setNotifyUrl(String notifyUrl) {
        this.notifyUrl = notifyUrl;
    }

    /** 付款成功后跳转返回的页面(用于商家实现支付后的引导) **/
    public String getReturnUrl() {
        return returnUrl;
    }

    /** 付款成功后跳转返回的页面(用于商家实现支付后的引导) **/
    public void setReturnUrl(String returnUrl) {
        this.returnUrl = returnUrl;
    }

}
